using TEngine;

namespace GameLogic
{
    public class ProcedureShipConfig : ProcedureBase
    {
        protected override void OnEnter(IFsm<IProcedureManager> procedureOwner)
        {
            base.OnEnter(procedureOwner);
            GameModule.UI.ShowUI<ShipConfigUI>();
        }

        protected override void OnLeave(IFsm<IProcedureManager> procedureOwner, bool isShutdown)
        {
            base.OnLeave(procedureOwner, isShutdown);
            GameModule.UI.CloseUI<ShipConfigUI>();
        }
    }
}
